﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace VOD.ViewModels
{
    public class AdminWelcomeInfo
    {
        private string _dateNow;

        /// <summary>
        /// 用户名
        /// </summary>
        public string User { get; set; }
        /// <summary>
        /// 网站访问量
        /// </summary>
        public int SiteCount { get; set; }
        /// <summary>
        /// 视频总数
        /// </summary>
        public int VideosCount { get; set; }
        /// <summary>
        /// 视频总集数
        /// </summary>
        public int VideoFilesCount { get; set; }
        /// <summary>
        /// 今天日期
        /// </summary>
        public string DateNow { get { return _dateNow; } }
        /// <summary>
        /// 服务器名称
        /// </summary>
        public string Server_MachineName { get; set; }
        /// <summary>
        /// 服务器IP地址
        /// </summary>
        public string Server_IP { get; set; }
        /// <summary>
        /// 服务器.NET解释引擎版本
        /// </summary>
        public string Server_Environment { get; set; }
        /// <summary>
        /// 服务器端口
        /// </summary>
        public string Server_Port { get; set; }
        /// <summary>
        /// 服务器操作系统版本
        /// </summary>
        public string Server_OS { get; set; }
        /// <summary>
        /// IIS版本
        /// </summary>
        public string Server_IIS { get; set; }

        public AdminWelcomeInfo()
        {
            _dateNow = DateTime.Now.ToLongDateString();
        }
    }
}